
<link href="<?= base_url();?>assets/css/social_widget.css" rel="stylesheet">
<?php 

$social = $this->settings_model->get_socials(1);
if ($social) {
	$facebook_link = $social->facebook;
	$twitter_link = $social->twitter;
	$linkedin_link = $social->linkedin;
	$google_link = $social->googleplus;
	$pinterest_link = $social->pinterest;
}

?>

<?php if($footer){?>
<div class="container">

	<div class="col-xs-2">
		<img class="img-responsive" id="site-logo"
			src="<?=base_url();?>assets/images/<?= $this->settings_model->get_setting('site_logo');?>">
	</div>
	<div class="col-lg-4">

		<div class="col-lg-12 small">
			<h5>
				<strong><?= lang('footer.site.navigation');?></strong>
			</h5>

			<ul class="list-unstyled">
				<li class="col-lg-6"><a href="<?= base_url();?>"><?= lang('footer.home');?></a>
				</li>
				<?php foreach ($footer as $footer):?>
				<li class="col-lg-6"><a href="<?= base_url();?>page/<?= $this->commoncall->url($footer->url); ?>-<?= $footer->id ?>"><?= $footer->title; ?>
				</a>
				</li>
				<?php endforeach;?>
			</ul>
			
		</div>
	</div>
	<div class="col-lg-3">
		<h5>
			<strong><?= lang('footer.site.navigation');?></strong>
		</h5>
		<ul class="list-unstyled  small">
			<li><a href="<?= base_url(); ?>category/all"><?= lang('footer.browse.all.category');?></a>
			</li>
			<li><a href="<?= base_url(); ?>location/region/all"><?= lang('footer.browse.all.location');?></a>
			</li>
			<li><a href="<?= base_url();?>listing/browse/alphabetically"><?= lang('footer.browse.all.alphabetically');?></a>
			</li>

		</ul>
	</div>
	<div class="col-lg-3">
		<h5>
			<strong><?= lang('footer.social.share');?></strong>
		</h5>
		<ul class="socialmedia-buttons list-unstyled  small">
			<li><a href="<?= 'https://www.facebook.com/'.$facebook_link;?>"><img
						src="<?= base_url();?>assets/images/social_buttons/facebook1.png"
						alt="Follow us on facebook"
						title="Follow us on facebook" class="bounce" height="30"
						width="30"></a>
						&nbsp;
						<a href="<?= 'https://twitter.com/'.$twitter_link;?>"><img
						src="<?= base_url();?>assets/images/social_buttons/twitter1.png"
						alt="Follow us on facebook"
						title="Follow us on facebook" class="bounce" height="30"
						width="30"></a>
						&nbsp;
						<a href="<?= 'https://plus.google.com/'.$google_link;?>"><img
						src="<?= base_url();?>assets/images/social_buttons/google-plus.png"
						alt="Follow us on facebook"
						title="Follow us on facebook" class="bounce" height="30"
						width="30"></a>
						&nbsp;
						<a href="<?= 'https://www.linkedin.com/'.$linkedin_link;?>" id="linkedin">
						<img
						src="<?= base_url();?>assets/images/social_buttons/linkedin1.png"
						alt="Follow us on facebook"
						title="Follow us on facebook" class="bounce" height="30"
						width="30"></a>
						&nbsp;
						<a href="<?= 'https://www.pinterest.com/'.$pinterest_link;?>">
						<img
						src="<?= base_url();?>assets/images/social_buttons/pinterest11.png"
						alt="Follow us on facebook"
						title="Follow us on facebook" class="bounce"height="30"
						width="30"></a>
			</li>
			<!-- <li><a href="<?= 'https://twitter.com/'.$twitter_link;?>"><?= lang('footer.twitter');?></a>
			</li>
			<li><a href="<?= 'https://plus.google.com/'.$google_link;?>"><?= lang('footer.google');?></a>
			</li>
			<li><a href="<?= 'https://www.linkedin.com/'.$linkedin_link;?>" id="linkedin"><?= lang('footer.linkdin');?></a>
			</li>
			<li><a href="<?= 'https://www.pinterest.com/'.$pinterest_link;?>">Pinterest</a>
			</li> -->

		</ul>
	</div>

</div>
<!-- /.container -->
<?php }?>
